package org.example;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement//开启注解方式的事务管理
@EnableCaching//开启注解方式的缓存管理
@MapperScan("org.example.repository")
public class QMSServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(QMSServerApplication.class, args);
    }
}

